home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / exampleCode / video / vidmap / README < prev    next >
Encoding:
Text File  |  1994-08-02  |  2.7 KB  |  73 lines

  1.  
  2.                 THIS CODE RUNS/COMPILES ON 5.2 Irix OR LATER
  3.                 THIS CODE WILL NOT RUN ON LESS THAN 5.2 Irix
  4.  
  5.                 THIS DEMO IS BUILD WITH PRE-RELEASED DIGITAL
  6.                 MEDIA LIBRARY CODE.  THE API AND FUNCTIONALITY
  7.                 ARE SUBJECT TO CHANGE.  THE FINAL RELEASED
  8.                 VERSIONS OF THE DIGITAL MEDIA LIBRARIES WILL
  9.                 BE AVAILABLE AT THE END OF THIS YEAR BY ORDERING
  10.                 THE DIGITAL MEDIA LIBRARY DEVELOPMENT OPTION
  11.                            SC4-DEMDEV-1.2
  12.  
  13. ______________________________________________________________________________
  14.  
  15.  
  16.     vidmap program demonstrates texture mapping of video.  In a 4.0 Glx
  17.     mixed model GL viewport you can select either a live source such as 
  18.     IndyCam, any other live video source, or you can select a movie file 
  19.     (SGI Moviefile or QuickTime) to be texture mapped to the polygon.  The 
  20.     two forms of video are accessed in the program through two new digital 
  21.     media libraries, Video Library, VL, a device independent library for 
  22.     supporting video I/O and controlling computer video devices, and MV, the 
  23.     SGI movie library.
  24.  
  25.     NOTE:  In order to build or run this demo the eoe and dev subsystems
  26.            for the VL and MV libraries must be installed on your machine.  
  27.            The "new"[er] libraries in vidmap's Makefile hail from the 
  28.            following subsystems:
  29.  
  30.              libmovie.a      -- dmedia_dev.sw.movie
  31.              libvl.a         -- dmedia_eoe.sw.video
  32.              libcl.a         -- dmedia_dev.sw.compression
  33.              libaudio.a      -- dmedia_dev.sw.audio
  34.              libawareaudio.a -- dmedia_eoe.sw.audio
  35.              libdmedia       -- dmedia_dev.sw.common
  36.  
  37.     See toolbox/src/exampleCode/video/SWconfig4vidProds for more detail.
  38.  
  39.     To start execution of the program using the default live video 
  40.     source:
  41.  
  42.           % vidmap
  43.  
  44.     to use a specific video source other than what is currently set as the 
  45.     default:
  46.  
  47.           % vidmap -v #
  48.  
  49.     to use a moviefile
  50.  
  51.           % vidmap <movie_filename>
  52.  
  53.           i.e. vidmap seal.mv
  54.  
  55.  
  56.     
  57.     Moving cursor rotates the plane around the x and y axes.  
  58.     Cursor in center, centers the view of the plane.
  59.     Updating automatically stops when plane is being moved.
  60.  
  61.  
  62.  
  63.     Keyboard controls:
  64.  
  65.       b   - toggles between texture mapping and fast bit-blitting (lrectwrite)
  66.       g   - toggles on/off of grabbing new frames
  67.       p   - toggles performance reporting (fps every 10 frames) default off
  68.       m   - cycles through the texture map magnification filters
  69.       n   - cycles through the texture map minification filters
  70.       q   - toggles multiple images on same plane (1/4 texture map)
  71.       ESC - exit
  72.  
  73.